package team.freeroom.hotelmanage.repository.entity;

public class Account {
    /**
     * 客户 ID
     */
    private Long id;
    /**
     * 真实姓名
     */
    private String name;//客户登录名
    /**
     * 身份证号
     */
    private String idCard;
    /**
     * 联系电话
     */
    private String mobile;
    /**
     * 状态：0：可用，-1：冻结
     */
    private int status;

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", idCard='" + idCard + '\'' +
                ", mobile='" + mobile + '\'' +
                ", status=" + status +
                '}';
    }

    public Account() {
    }

    public Account(String name, String idCard, String mobile, int status) {
        this.name = name;
        this.idCard = idCard;
        this.mobile = mobile;
        this.status = status;
    }

    public Account(Long id, String name, String idCard, String mobile, int status) {
        this.id = id;
        this.name = name;
        this.idCard = idCard;
        this.mobile = mobile;
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
